package demo;

import demo.anno.MyAno;

import java.util.Date;

@MyAno(value = "abc",getAge = 18,getAddres = {"1","2"})
public class Student extends Person{
//    @MyAno(value = "abc",getAge = 18,getAddres = {"1","2"})
    private String name;

    @Override
    public String getName() {
        return "小学生";
    }

    @Deprecated
    @MyAno(value = "abc",getAge = 18,getAddres = {"1","2"})
    public void show(){
        System.out.println("大家好；我叫"+getName());
    }


    public static void main(String[] args) {
        Student student=new Student();
        student.show();
    }
}
